package org.opsli.modulars.business.equipment.entity;

import java.util.Date;

public class Cmd485Send {
    private Long id;
    /**
     * 系统设备编号
     */
    private String deviceId;

    /**
     * 参数类型
     */
    private String paramType;

    /**
     * 类型区分(1:4G设备 2:传感器)
     */
    private String typeDifirent;

    /**
     * 命令串
     */
    private String cmd;

    /**
     * 命令状态(1:等待执行 2:执行成功 3:执行失败)
     */
    private String cmdState;

    private Date updatetime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getParamType() {
        return paramType;
    }

    public void setParamType(String paramType) {
        this.paramType = paramType;
    }

    public String getTypeDifirent() {
        return typeDifirent;
    }

    public void setTypeDifirent(String typeDifirent) {
        this.typeDifirent = typeDifirent;
    }

    public String getCmd() {
        return cmd;
    }

    public void setCmd(String cmd) {
        this.cmd = cmd;
    }

    public String getCmdState() {
        return cmdState;
    }

    public void setCmdState(String cmdState) {
        this.cmdState = cmdState;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    public String toString() {
        return "Cmd485Send{" +
                "id=" + id +
                ", deviceId='" + deviceId + '\'' +
                ", paramType='" + paramType + '\'' +
                ", typeDifirent='" + typeDifirent + '\'' +
                ", cmd='" + cmd + '\'' +
                ", cmdState='" + cmdState + '\'' +
                '}';
    }
}
